/* ****************************************************************
   ****************************************************************
   * Com++ Professional (c) 2009 C++ World
   * http://www.cplusplusworld.com/ mailto:compp@cplusplusworld.com
   ****************************************************************
   ****************************************************************
*/

#ifndef  _CONTEXTH
#define  _CONTEXTH

#include <string>

namespace compp {

class Context  {
  

public:

  Context() ;
  virtual ~Context() ;


  void SetContextString ( const std::string &context) ;
  const std::string GetContextString ( );

  int GetClntPort () ;
  void SetClntPort ( const int &i) ;
  std::string GetClntIPAddr () ;
  void SetClntIPAddr ( const std::string & s) ;


 protected:
  std::string ContextString, ClntIPAddr;
  bool IsAuthenticated;
  int ClntPort;

};
}

#endif

